﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MaterPage.master" AutoEventWireup="true" CodeFile="DangKi.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="css/login.css" rel="stylesheet" />
    <link href="css/dangki.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="container">        
        <div class="tit"><p>Xin chào!</p></div>
        <div class="signin">
            <p class="tit">Đăng ký tài khoản mới</p><br />
              <center class="error"><asp:Label ID="txtThongBao" runat="server" Text=""></asp:Label></center>
            <table>
                 <tr>
                    <td><p>Tên  người dùng</p></td>
                    <td> <asp:TextBox ID="txtTenNguoiDung" CssClass="txt" runat="server"></asp:TextBox><br /></td>
                    <td class="error"><asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Nhập tên người dùng !" ControlToValidate="txtTenNguoiDung" ValidationGroup="dk"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td><p>Tên đăng nhập</p></td>
                    <td> <asp:TextBox ID="txtTenDN" CssClass="txt" runat="server"></asp:TextBox><br /></td>
                    <td class="error"><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Nhập tên đăng nhập !" ControlToValidate="txtTenDN" ValidationGroup="dk"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td><p>Mật khẩu</p></td>
                    <td><asp:TextBox ID="txtMatKhau" CssClass="txt" runat="server" TextMode="Password"></asp:TextBox></td>
                    <td class="error"><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Nhập mật khẩu!" ControlToValidate="txtMatKhau" ValidationGroup="dk"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td><p>Nhập lại mật khẩu</p></td>
                    <td><asp:TextBox ID="txtMatKhau1" CssClass="txt" runat="server" TextMode="Password"></asp:TextBox></td>
                    <td class="error"><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Nhập lại mật khẩu !" ControlToValidate="txtMatKhau1" ValidationGroup="dk" Display="Dynamic"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Mật khẩu không trùng khớp !" ControlToCompare="txtMatKhau" ControlToValidate="txtMatKhau1" ValidationGroup="dks" Display="Dynamic"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td><p>Email</p></td>
                    <td><asp:TextBox ID="txtEmail" CssClass="txt" runat="server"></asp:TextBox></td>
                    <td class="error"><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Nhập email !" ControlToValidate="txtEmail" ValidationGroup="dk"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td><p>Số điện thoại</p></td>
                    <td><asp:TextBox ID="txtDienThoai" CssClass="txt" runat="server" TextMode="Phone"></asp:TextBox></td>
                </tr>
                <tr>
                    <td><p>Địa Chỉ</p></td> 
                    <td><asp:TextBox ID="txtDiaChi" CssClass="txt" runat="server"></asp:TextBox></td>
                </tr>
            </table>
        </div>
        <div class="footerDangNhap">
            <asp:Button ID="btnDangKy" runat="server" Text="Đăng Ký" CssClass="button" ValidationGroup="dk" OnClick="btnDangKy_Click" />
            <input id="Reset1" type="reset" value="Reset"  class="button"/><br />
          

        </div>
    </div>
</asp:Content>

